package com.gxa.service.controller;

import com.gxa.common.base.RespResult;
import com.gxa.service.entity.SpecificationArea;
import com.gxa.service.service.SpecificationService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/specification")
public class SpecificationController {

    @Autowired
    private SpecificationService service;



    /**
     * 根据(set-服务id)查询定价信息。
     * @param id
     * @return
     */
    @PostMapping("/findSpecificationById")
    public RespResult findSpecificationById(Integer id){

        return service.findSpecificationById(id);
    }

}
